package com.guosifan.repository;

import com.guosifan.entity.Type;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TypeRepository {

    List<Type> findTypes();

    Type findById(int id);


}
